#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int Cmp_char(const void* e1, const void* e2) {
	return *(char*)e1 - *(char*)e2;
}
void print_arr(char arr[], int sz) {
	for (int i = 0; i < sz; i++) {
		printf("%c", arr[i]);
	}
	printf("\n");
}
int main() {
	char arr[10] = { 'E','F','G','B','D','C','A','I','J','H' };
	int sz = sizeof(arr) / sizeof(arr[0]);
	print_arr(arr, sz);
	qsort(arr, sz, sizeof(arr[0]), Cmp_char);
	print_arr(arr, sz);
	return 0;
}